package com.nsqt.biz.service.impl;

import com.nsqt.biz.dao.IndustryDao;
import com.nsqt.biz.domain.IndustryDO;
import com.nsqt.biz.service.IndustryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class IndustryServiceImpl implements IndustryService {
    @Autowired
    private IndustryDao industryDao;

    @Override
    public IndustryDO get(Integer id) {
        return industryDao.get(id);
    }

    @Override
    public List<IndustryDO> list(Map<String, Object> map) {
        return industryDao.list(map);
    }

    @Override
    public int count(Map<String, Object> map) {
        return industryDao.count(map);
    }

    @Override
    public int save(IndustryDO industry) {
        return industryDao.save(industry);
    }

    @Override
    public int update(IndustryDO industry) {
        return industryDao.update(industry);
    }

    @Override
    public int remove(Integer id) {
        return industryDao.remove(id);
    }

    @Override
    public int batchRemove(Integer[] ids) {
        return industryDao.batchRemove(ids);
    }

}
